<template>
	<view class="spread">
		<view class="bg_box"></view>
		<image :src="imgConfig + 'images/index/invite_bg1.png'" mode="widthFix" class="bg1"></image>
		<view class="bg2">
			<image :src="imgConfig + 'images/index/invite_bg2.png'" mode="widthFix" class="bg"></image>
			<view class="tips" v-if="fissionInfo.repurchaseOverDate">
				复购期至{{fissionInfo.repurchaseOverDate}}，超期清除权益并降至游客
				<image :src="imgConfig + 'images/mall/tips_arrow.png'" mode="widthFix" class="arrow"></image>
			</view>
			<view class="cont">
				<view class="head">
					<view class="label">
						当<br>前<br>等<br>级
					</view>
					<view class="val">
						<view class="level">
							<view class="icon">
								{{fissionInfo.currentFissionName}}
							</view>
							<view class="text">
								{{fissionInfo.currentFissionName}}等级
							</view>
						</view>
						<view class="btn" style="background: gray;"
							v-if="fissionInfo.status == 0&&fissionInfo.nextFissionName">
							申请{{fissionInfo.nextFissionName}}
						</view>
						<view class="btn" @click="subApply"
							v-else-if="fissionInfo.status == 1&&fissionInfo.nextFissionName">
							申请{{fissionInfo.nextFissionName}}
						</view>
					</view>
				</view>
				<view class="mid">
					<view class="title">
						{{fissionInfo.message}}
					</view>
					<view class="ul" v-if="fissionInfo.relationUserInfos.length>0">
						<view class="li" v-if="fissionInfo.relationUserInfos.length>0">
							<image v-if="fissionInfo.relationUserInfos[0].slaveFissionName == 'V0'"
								:src="imgConfig + 'images/mall/level0.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[0].slaveFissionName == 'V1'"
								:src="imgConfig + 'images/mall/level1.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[0].slaveFissionName == 'V2'"
								:src="imgConfig + 'images/mall/level2.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[0].slaveFissionName == 'V3'"
								:src="imgConfig + 'images/mall/level3.png'" mode="widthFix" class="level_icon"></image>
							<image
								:src="fissionInfo.relationUserInfos[0].headImgUrl?fissionInfo.relationUserInfos[0].headImgUrl:imgConfig + 'images/mall/spread_d_icon.png'"
								mode="widthFix" class="icon"></image>
							已邀请
						</view>
						<view class="li" v-else-if="fissionInfo.relationUserInfos.length<1">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li" v-if="fissionInfo.relationUserInfos.length>1">
							<image v-if="fissionInfo.relationUserInfos[1].slaveFissionName == 'V0'"
								:src="imgConfig + 'images/mall/level0.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[1].slaveFissionName == 'V1'"
								:src="imgConfig + 'images/mall/level1.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[1].slaveFissionName == 'V2'"
								:src="imgConfig + 'images/mall/level2.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[1].slaveFissionName == 'V3'"
								:src="imgConfig + 'images/mall/level3.png'" mode="widthFix" class="level_icon"></image>
							<image
								:src="fissionInfo.relationUserInfos[1].headImgUrl?fissionInfo.relationUserInfos[1].headImgUrl:imgConfig + 'images/mall/spread_d_icon.png'"
								mode="widthFix" class="icon"></image>
							已邀请
						</view>
						<view class="li" v-else-if="fissionInfo.relationUserInfos.length<2">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li" v-if="fissionInfo.relationUserInfos.length>2">
							<image v-if="fissionInfo.relationUserInfos[2].slaveFissionName == 'V0'"
								:src="imgConfig + 'images/mall/level0.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[2].slaveFissionName == 'V1'"
								:src="imgConfig + 'images/mall/level1.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[2].slaveFissionName == 'V2'"
								:src="imgConfig + 'images/mall/level2.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[2].slaveFissionName == 'V3'"
								:src="imgConfig + 'images/mall/level3.png'" mode="widthFix" class="level_icon"></image>
							<image
								:src="fissionInfo.relationUserInfos[2].headImgUrl?fissionInfo.relationUserInfos[2].headImgUrl:imgConfig + 'images/mall/spread_d_icon.png'"
								mode="widthFix" class="icon"></image>
							已邀请
						</view>
						<view class="li" v-else-if="fissionInfo.relationUserInfos.length<3">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li" v-if="fissionInfo.relationUserInfos.length>3">
							<image v-if="fissionInfo.relationUserInfos[3].slaveFissionName == 'V0'"
								:src="imgConfig + 'images/mall/level0.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[3].slaveFissionName == 'V1'"
								:src="imgConfig + 'images/mall/level1.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[3].slaveFissionName == 'V2'"
								:src="imgConfig + 'images/mall/level2.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[3].slaveFissionName == 'V3'"
								:src="imgConfig + 'images/mall/level3.png'" mode="widthFix" class="level_icon"></image>
							<image
								:src="fissionInfo.relationUserInfos[3].headImgUrl?fissionInfo.relationUserInfos[3].headImgUrl:imgConfig + 'images/mall/spread_d_icon.png'"
								mode="widthFix" class="icon"></image>
							已邀请
						</view>
						<view class="li" v-else-if="fissionInfo.relationUserInfos.length<4">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li" v-if="fissionInfo.relationUserInfos.length>4">
							<image v-if="fissionInfo.relationUserInfos[4].slaveFissionName == 'V0'"
								:src="imgConfig + 'images/mall/level0.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[4].slaveFissionName == 'V1'"
								:src="imgConfig + 'images/mall/level1.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[4].slaveFissionName == 'V2'"
								:src="imgConfig + 'images/mall/level2.png'" mode="widthFix" class="level_icon"></image>
							<image v-else-if="fissionInfo.relationUserInfos[4].slaveFissionName == 'V3'"
								:src="imgConfig + 'images/mall/level3.png'" mode="widthFix" class="level_icon"></image>
							<image
								:src="fissionInfo.relationUserInfos[4].headImgUrl?fissionInfo.relationUserInfos[4].headImgUrl:imgConfig + 'images/mall/spread_d_icon.png'"
								mode="widthFix" class="icon"></image>
							已邀请
						</view>
						<view class="li" v-else-if="fissionInfo.relationUserInfos.length<5">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
					</view>
					<view class="ul" v-else>
						<view class="li">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
						<view class="li">
							<image :src="imgConfig + 'images/index/invite_icon2.png'" mode="widthFix" class="icon">
							</image>
							待邀请
						</view>
					</view>
					<view class="btn" @click="openInvite" v-if="fissionInfo.invite">
						立即邀请
					</view>
					<view class="btn" style="color: #aaa;background: rgba(233, 233, 233, 1);"
						v-else-if="!fissionInfo.invite">
						立即邀请
					</view>
				</view>
			</view>
		</view>
		<view class="bg3">
			<view class="rewardCard">
				<view class="title">
					<view class="text">
						<image :src="imgConfig + 'images/index/invite_iconL.png'" mode="widthFix" class="textL">
						</image>
						个人奖励
						<image :src="imgConfig + 'images/index/invite_iconR.png'" mode="widthFix" class="textR">
						</image>
					</view>
				</view>
				<view class="cont">
					<view class="val">
						<view class="num">
							{{teamInfo.linealTeam}}
						</view>
						<view class="label">
							邀请人数(人)
						</view>
					</view>
					<view class="hr"></view>
					<view class="val">
						<view class="num">
							{{teamInfo.teamIncome}}
						</view>
						<view class="label">
							累计广告收益(元)
						</view>
					</view>
				</view>
				<view class="more" @click="userTeam">查看更多 ></tui-icon>
				</view>
			</view>
		</view>
		<view class="bg3">
			<view class="rewardCard">
				<view class="title">
					<view class="text">
						<image :src="imgConfig + 'images/index/invite_iconL.png'" mode="widthFix" class="textL">
						</image>
						团队奖励
						<image :src="imgConfig + 'images/index/invite_iconR.png'" mode="widthFix" class="textR">
						</image>
					</view>
				</view>
				<view class="cont">
					<view class="val">
						<view class="num">
							{{highTeamInfo.teamCount}}
						</view>
						<view class="label">
							获利团队数量(个)
						</view>
					</view>
					<!-- <view class="hr"></view>
					<view class="val">
						<view class="num">
							{{highTeamInfo.teamCount}}
						</view>
						<view class="label">
							团队总人数(人)
						</view>
					</view> -->
					<view class="hr"></view>
					<view class="val">
						<view class="num">
							{{highTeamInfo.teamIncome}}
						</view>
						<view class="label">
							累计分销收益(元)
						</view>
					</view>
				</view>
				<view class="more" @click="highTeam">查看更多 ></tui-icon>
				</view>
			</view>
		</view>
		<view class="bg3">
			<view class="rewardCard">
				<view class="title">
					<view class="text">
						<image :src="imgConfig + 'images/index/invite_iconL.png'" mode="widthFix" class="textL">
						</image>
						待出账奖金
						<image :src="imgConfig + 'images/index/invite_iconR.png'" mode="widthFix" class="textR">
						</image>
					</view>
				</view>
				<view class="cont">
					<view class="val">
						<view class="num">
							{{billOrderInfo.orderCount}}
						</view>
						<view class="label">
							订单数量(个)
						</view>
					</view>
					<view class="hr"></view>
					<view class="val">
						<view class="num">
							{{billOrderInfo.orderAmountSum}}
						</view>
						<view class="label">
							订单总金额(元)
						</view>
					</view>
					<view class="hr"></view>
					<view class="val">
						<view class="num">
							{{billOrderInfo.disAmountSum}}
						</view>
						<view class="label">
							分销总金额(元)
						</view>
					</view>
				</view>
				<view class="more" @click="billOrderTeam">查看更多 ></tui-icon>
				</view>
			</view>
		</view>
		<view style="height: 40rpx;"></view>
		<!-- 申请升级 -->
		<view class="drawer" v-if="applyVis">
			<view class="d-container">
				<tui-icon name="close" class="inviteClose" @click="closeApply()"></tui-icon>
				<view class="apply">
					<view class="text">
						申请升级{{fissionInfo.nextFissionName}}
					</view>
					<view class="head">
						<image @click="chooseImg" :src="imgConfig + 'images/mall/mine_def_touxiang_3x.png'"
							mode="widthFix" class="icon"></image>
						<view @click="chooseImg" class="txt">点击上传</view>
					</view>
					<image :src="headImgUrl" class="applyImg" mode="widthFix"></image>
					<tui-button type="warning" @click="subApply">立即申请</tui-button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	const util = require("@/utils/util.js")
	const app = getApp()
	export default {
		name: '',
		components: {

		},
		props: {

		},
		data() {
			return {
				imgConfig: util.domainImg,
				name: "", // 团队名称
				inviteId: "", // 邀请码

				headImgUrl: "",
				fissionInfo: {}, // 推广团队信息
				highTeamInfo: {}, // 高级团队信息
				teamInfo: {}, // 团队信息
				teamList: [], // 团队列表
				billOrderInfo: {}, // 待出账订单信息
				userId: "",
				current: 1,
				pages: '',
				loadding: false,
				pullUpOn: true,

				applyVis: false,
			};
		},
		computed: {

		},
		watch: {

		},
		onLoad() {
			this.init();
		},
		onShow() {

		},
		onPullDownRefresh: function() {
			this.current = 1;
			this.pullUpOn = true;
			this.loadding = false;
			this.init();
			uni.stopPullDownRefresh();
		},
		onReachBottom: function() {
			// this.loadding = true;
			// if (this.current == this.pages) {
			// 	this.loadding = false;
			// 	this.pullUpOn = false;
			// } else {
			// 	this.getList(true);
			// 	this.loadding = false;
			// }
		},
		methods: {
			init() {
				this.getTeamInfo();
				this.getHighTeamInfo();
				this.getFissionInfo();
				this.getTeamBillOrderInfo();
			},
			// 获取团队信息
			getHighTeamInfo() {
				util.request('my/teamRewardStatics').then(res => {
					if (res.code == 0) {
						this.highTeamInfo = res.data
					}
				});
			},
			// 立即申请
			subApply() {
				let files = [];
				// if (!this.headImgUrl) {
				// 	return util.toast('请上传文件');
				// }
				// files.push(this.headImgUrl)
				util.request('fission/lvApply', {
					applyFissionName: this.fissionInfo.nextFissionName,
					files: files
				}, 'POST').then(res => {
					if (res.code == 0) {
						util.toast('已申请,请等待审核');
						this.applyVis = false;
						this.headImgUrl = '';
						this.init();
					}
				});
			},
			// 申请升级
			openOpply() {
				this.applyVis = true;
			},
			closeApply() {
				this.applyVis = false;
			},
			// 团队弹出层
			changeTeam() {
				this.teamVis = true;
			},
			chooseImg() {
				let that = this;
				uni.chooseImage({
					count: 1, //默认9
					sizeType: ['original', 'compressed'],
					sourceType: ['album'],
					success: function(res) {
						let tempFilePaths = res.tempFilePaths[0]
						util.uploadFile('upload/upload', tempFilePaths).then(function(resp) {
							that.headImgUrl = resp.url;
						})
					}
				})
			},
			// 修改团队名称
			editTeam() {
				util.request('user/updateBaseInfo', {
					userName: this.name
				}, 'POST').then(res => {
					if (res.code == 0) {
						this.teamVis = false;
						this.getUser();
					}
				});
			},
			// 推广团队信息
			getFissionInfo() {
				util.request('fission/fissionInfo').then(res => {
					if (res.code == 0) {
						this.fissionInfo = res.data
					}
				});
			},
			// 获取用户信息
			getUser() {
				util.request('user/baseInfo').then(res => {
					if (res.code == 0) {
						this.inviteId = res.data.inviteCode;
						this.name = res.data.userName;
						this.inviteLink = util.domain + "platform-api/linglu?inviteId=" + this.inviteId +
							"&name=" + this.name;
					}
				});
			},
			// 获取团队信息
			getTeamInfo() {
				util.request('my/teamStatics', {
					amountType: 1
				}, 'POST').then(res => {
					if (res.code == 0) {
						this.teamInfo = res.data
					}
				});
			},
			// 获取待出账订单信息
			getTeamBillOrderInfo() {
				util.request('disBill/getTeamBillOrderInfo', {}, 'POST').then(res => {
					if (res.code == 0) {
						this.billOrderInfo = res.data;
						uni.setStorageSync('billOrderInfo', JSON.stringify(res.data));
					}
				});
			},
			// 分享团队列表
			getList(selet_type) {
				let that = this;
				let loadData;
				that.pullUpOn = true;
				if (selet_type) {
					loadData = JSON.parse(JSON.stringify(that.teamList));
					that.current = that.current + 1;
				}
				util.request('my/teamRelation', {
					current: that.current,
					userId: this.userId
				}, 'POST').then(res => {
					if (res.code == 0) {
						that.teamList = res.data.records
						that.pages = res.data.pages
					}
				});
			},
			// 团队收益
			teamClick(item) {
				uni.navigateTo({
					url: "./shareTeam?id=" + item.slaveUserId + "&name=" + item.slaveUserName
				});
			},
			// 个人团队奖励
			userTeam() {
				uni.navigateTo({
					url: "./userTeam",
				});
			},
			// 高级团队奖励
			highTeam() {
				uni.navigateTo({
					url: "./highTeam",
				});
			},
			// 待出账订单奖金
			billOrderTeam() {
				uni.navigateTo({
					url: "./waitTeam",
				});
			},
			// 打开邀请
			openInvite() {
				// this.inviteVis = true;
				// this.getUser();
				uni.navigateTo({
					url: "./inviteTeam",
				});
			},
			// 关闭邀请
			closeInvite() {
				this.inviteVis = false;
			},
			// 复制链接
			copyInvite() {
				uni.setClipboardData({
					data: this.inviteLink
				});
			},
		},
	};
</script>

<style lang="scss">
	.spread {
		.bg_box {
			background: linear-gradient(90deg, #F3DDB4, #F9EAD3, #EECC95);
			width: 100%;
			height: 100vh;
			position: fixed;
			left: 0;
			top: 0;
			z-index: 0;
		}

		.bg1 {
			width: 100%;
			display: block;
			margin-bottom: 8rpx;
			position: relative;
		}

		.bg2 {
			width: 100%;
			padding: 0 30rpx;
			position: relative;
			margin-bottom: 10rpx;

			.tips {
				font-size: 24rpx;
				color: #fff;
				line-height: 50rpx;
				background: rgba(17, 17, 17, 0.4);
				border-radius: 40rpx;
				padding: 0 26rpx;
				position: absolute;
				left: 50%;
				top: -64rpx;
				transform: translateX(-50%);
				white-space: nowrap;

				.arrow {
					width: 14rpx;
					position: absolute;
					right: 88rpx;
					bottom: -6rpx;
				}
			}

			.bg {
				width: 100%;
				display: block;
			}

			.cont {
				width: 100%;
				height: 100%;
				z-index: 1;
				position: absolute;
				left: 0;
				top: 0;

				.head {
					width: 100%;
					height: 110rpx;
					padding: 0 100rpx;
					display: flex;
					align-items: center;
					justify-content: flex-start;

					.label {
						font-size: 20rpx;
						color: #FFFFFF;
						width: 60rpx;
						height: 100%;
						text-align: center;
						line-height: 1.2;
						padding-top: 10rpx;
					}

					.val {
						display: flex;
						align-items: center;
						justify-content: flex-start;

						.level {
							display: flex;
							align-items: center;
							justify-content: flex-start;
							width: 300rpx;

							.icon {
								width: 48rpx;
								height: 44rpx;
								background: url('@/static/images/index/invite_icon1.png');
								background-size: 100% 100%;
								font-size: 14rpx;
								font-weight: bold;
								color: #FFFFFF;
								line-height: 44rpx;
								text-align: center;
								margin: 0 8rpx 0 44rpx;
							}

							.text {
								font-size: 36rpx;
								font-weight: bold;
								color: #F28937;
								background: linear-gradient(0deg, #FF9449 0%, #FF6011 50%, #FF5113 100%);
								-webkit-background-clip: text;
								-webkit-text-fill-color: transparent;
							}
						}

						.btn {
							width: 142rpx;
							line-height: 56rpx;
							background: linear-gradient(0deg, #FF9449, #FF6011, #FF5113);
							border-radius: 28rpx;
							text-align: center;
							font-size: 26rpx;
							font-weight: bold;
							color: #FFFFFF;
						}
					}
				}

				.mid {
					width: 100%;
					padding: 90rpx 80rpx 100rpx;

					.title {
						width: 100%;
						height: 74rpx;
						background: linear-gradient(0deg, #FF9449, #FF6011, #FF5113);
						border-radius: 10rpx;
						line-height: 74rpx;
						text-align: center;
						font-size: 30rpx;
						color: #FFF9EB;
					}

					.ul {
						padding: 40rpx 10rpx 70rpx;

						.li {
							width: 84rpx;
							font-size: 22rpx;
							color: #FE852B;
							text-align: center;
							margin: 0 15rpx;
							display: inline-block;
							position: relative;

							.level_icon {
								width: 42rpx;
								position: absolute;
								right: -16rpx;
								top: -4rpx;
							}

							.icon {
								width: 84rpx;
								height: 84rpx;
								display: block;
								margin-bottom: 18rpx;
								border-radius: 50%;
							}
						}
					}

					.btn {
						width: 100%;
						height: 80rpx;
						background: #FFF0E3;
						border-radius: 40rpx;
						font-size: 36rpx;
						color: #FF5113;
						text-align: center;
						line-height: 80rpx;
					}
				}
			}
		}

		.bg3 {
			width: 100%;
			padding: 40rpx 30rpx 0;
			position: relative;

			.rewardCard {
				width: 100%;
				height: 290rpx;
				background: #FEF6F7;
				border-radius: 20rpx;

				.title {
					text-align: center;
					padding: 28rpx 0 10rpx;

					.text {
						padding: 0 15rpx;
						display: inline-block;
						position: relative;
						font-size: 36rpx;
						font-weight: bold;
						color: #FF5113;

						.textL {
							width: 61rpx;
							height: 23rpx;
							position: absolute;
							left: -61rpx;
							top: 15rpx;
						}

						.textR {
							width: 61rpx;
							height: 23rpx;
							position: absolute;
							right: -61rpx;
							top: 15rpx;
						}
					}
				}

				.cont {
					height: 160rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;

					.val {
						flex: 1;
						text-align: center;

						.num {
							font-size: 46rpx;
							font-weight: bold;
							color: #FF5113;
						}

						.label {
							margin-top: 10rpx;
							font-size: 22rpx;
							color: #666666;
						}
					}

					.hr {
						width: 2rpx;
						height: 50rpx;
						background: #F8E8CF;
					}
				}

				.more {
					font-size: 26rpx;
					color: #111111;
					text-align: center;
				}
			}
		}

		// .head {
		// 	width: 100%;
		// 	padding: 20rpx 50rpx;
		// 	background: #fff;

		// 	.icon {
		// 		text-align: center;

		// 		image {
		// 			width: 200rpx;
		// 		}

		// 		.h1 {
		// 			font-size: 60rpx;
		// 			color: #A3A3A3;
		// 			font-weight: bold;
		// 		}

		// 		.h2 {
		// 			font-size: 32rpx;
		// 			color: rgba(184, 116, 26, 1);
		// 		}
		// 	}
		// }

		// .mid {
		// 	padding-top: 50rpx;

		// 	.tui-btn {
		// 		margin-bottom: 30rpx !important;
		// 	}
		// }


		.drawer {
			position: fixed;
			left: 0;
			top: 0;
			z-index: 1;
			background: #fff;
			width: 100vw;

			.d-container {
				height: 100vh !important;
				position: relative;

				.apply {
					width: 100%;
					height: 100vh;
					overflow-y: auto;
					padding: 0 100rpx 40rpx;

					.text {
						font-size: 40rpx;
						font-weight: bold;
						color: #F28937;
						background: linear-gradient(0deg, #FF9449 0%, #FF6011 50%, #FF5113 100%);
						-webkit-background-clip: text;
						-webkit-text-fill-color: transparent;
						text-align: center;
						padding: 150rpx 0 0;
					}

					.head {
						width: 100%;
						padding: 60rpx 0;
						background: #fff;
						text-align: center;

						.icon {
							width: 100rpx;
							height: 100rpx;
						}

						.txt {
							font-size: 28rpx;
							color: #333;
							padding-top: 10rpx;
						}
					}

					.applyImg {
						width: 100%;
						height: auto;
						margin-bottom: 20rpx;
					}
				}

				.inviteClose {
					position: absolute;
					right: 60rpx;
					top: 30rpx;
				}

				.cont {
					padding: 200rpx 40rpx;

					.input {
						display: flex;
						align-items: center;
						justify-content: flex-start;
						height: 80rpx;
						margin-bottom: 40rpx;

						.label {
							font-size: 36rpx;
							color: #333;
							font-weight: bold;
							width: 200rpx;
							text-align: right;
							margin-right: 60rpx;

						}

						.val {
							font-size: 32rpx;
							color: #333;
							font-weight: bold;
							display: flex;
							justify-content: flex-start;
						}
					}

					.shareLink {
						padding: 0 40rpx;
						color: rgb(88, 108, 148);
						text-align: left;
					}
				}
			}
		}

		.modal {
			.custom {
				.head {
					text-align: center;

					.h1 {
						font-size: 32rpx;
						color: #333;
						font-weight: bold;
					}

					.h2 {
						font-size: 28rpx;
						color: #666;
						padding-top: 10rpx;
					}
				}

				.input {
					font-size: 30rpx;
					color: #333;
					border: 1px solid #eee;
					height: 80rpx;
					margin: 40rpx 0 100rpx;
					padding: 0 20rpx;
					box-sizing: border-box;
				}

				.handle {
					display: flex;
				}
			}
		}
	}
</style>
